/**
 * 
 */
package com.pactera.integral.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pactera.integral.dao.AuthorityDao;
import com.pactera.integral.entity.Authority;
import com.pactera.integral.service.AuthorityService;

/**
 * @author TempUser
 *
 */
@Service("authorityService")
public class AuthorityServiceImpl implements AuthorityService{
	
	@Autowired
	AuthorityDao dao;

	/* (non-Javadoc)
	 * @see com.pactera.core.service.AuthorityService#getAllAuthority()
	 */
	@Override
	public List<Authority> getAllAuthority() {

		return dao.findAll();
	}

	
}
